package cn.mesmile.nacos.model;

import cn.mesmile.nacos.dto.Datas;
import cn.mesmile.nacos.dto.StatisticalResults;

import java.util.List;

/**
 * @author zb
 * @date 2021/6/18 23:40
 * @Description: 查询时间段数据
 */
public class IntervalData extends Strategy {

    private int test ;

    public IntervalData(int test) {
        this.test = test;
    }

    @Override
    StatisticalResults getStatisticsResult(List<Datas> dataList) {
        System.out.println("\"这是【时间区间】的结果：\"+ (number + test) = " + "这是【时间区间】的结果：" );
        return new StatisticalResults();
    }
}
